import upload from '@/utils/upload'
import request from '@/utils/request'


// 记录堆场数据
export function setInfo(data) {
  return request({
    url: '/system/info',
    method: 'post',
    data: data
  })
}
// 修改堆场数据
export function updateInfo(data) {
  return request({
    url: '/system/info',
    method: 'put',
    data: data
  })
}
// 查看堆场数据
export function getInfo(data) {
  return request({
    url: '/system/info/list',
    method: 'get',
	data: data
  })
}
// 查询堆场详细
export function getDetail(infoId) {
  return request({
    url: "/system/info/" + infoId,
    method: "get",
  });
}

